package aop.advisor;

import aop.pointcut.IPointcut;
import lombok.Data;

/**
 * 定义为抽象类,好替换实现者,用户想用啥表达式就用啥表达式
 */
@Data
public abstract class AbsPointcutAdvisor implements IPointcutAdvisor
{
    protected String adviceBeanName;

    protected String expression;

    protected IPointcut pointcut;

    public  String getAdviceBeanName()
    {
        return adviceBeanName;
    }

    public  String getExpression()
    {
        return expression;
    }

    public abstract IPointcut getPointcut();
}
